\documentclass[10pt]{report}

\usepackage[french]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
%\usepackage{textcomp}
\usepackage{setspace}
\usepackage[colorlinks=true]{hyperref}
\usepackage{geometry}
\usepackage{graphicx}
\usepackage{import}
\usepackage{listings}
\usepackage{fancyhdr}
\usepackage{fancybox}
\usepackage{float}
\usepackage[nottoc, notlof, notlot]{tocbibind}

\geometry{verbose,tmargin=2.5cm,bmargin=3cm,lmargin=2cm,rmargin=2cm}
\graphicspath{{img/}}
\hypersetup{urlcolor=blue,linkcolor=black,citecolor=black,colorlinks=true} 

\addto\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}}
\lstset{language=C,basicstyle=\small,keywordstyle=\color{black}\bfseries}

\pagestyle{fancy}
\fancyhf{}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{#1}}

\renewcommand{\thechapter}{\Roman{chapter}}
\renewcommand{\thesection}{\arabic{section}}
\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}}

\fancyhead[LE,RO]{\textbf{\thepage}}
\fancyhead[LO]{\textsl{\rightmark}}
\fancyhead[RE]{\textsl{\leftmark}}
\fancyfoot[CO]{\thepage}

% -- MAIN --

\subimport{part/}{begin.tex}
%\subimport{part/}{resume.tex}

\tableofcontents

\newpage

\begin{onehalfspace}

\chapter{Arduino}
\subimport{part/}{env_dev_arduino}
\subimport{part/}{specs}
\subimport{part/}{xbee}
\subimport{part/}{gsm}


\chapter{Android}
\subimport{part/}{env_dev_android}
\end{onehalfspace}
\end{document}
